Fixed GtkWrapBox base requests for ALIGNED and FREE mode
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Wed, 22 Sep 2010 07:03:37 +0000 (16:03 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Wed, 22 Sep 2010 07:06:42 +0000 (16:06 +0900)
commitaad77642be8fe92d851f5d9ac3d52a288faf22a4
tree5ee2ea571d9dc4f39a3a2884aa4bcdfee5c33b2c
parentc9ca4beb35ef51efc95abb1276e75e1da4534f9d
Fixed GtkWrapBox base requests for ALIGNED and FREE mode

Problems were; in FREE mode there was a simple typo where we were
repeatedly checking the size of the same item in get_largest_line_length(),
and in ALIGNED mode we were assuming something like HOMOGENEOUS which
was incorrect; added get_largest_aligned_line_length() which properly
adds up the collective max sizes of every index in the line.
gtk/gtkwrapbox.c